#include<unistd.h>
#include<sys/types.h>
#include<stdio.h>

int main(int argc,char **argv)
{
    for(int i=0;i<argc;i++)
    {
        printf("argv[%d] = %s\n",i,argv[i]);
    }
    pid_t father,child;
    father=getpid();
    child = fork();
    if (child == 0)
    {
        child=getpid();
        printf("child:%d",child);
    }
    else
    {
       
        printf("father:%d",father);
    }
    return 0;
}